<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
  <html xmlns="http://www.w3.org/1999/xhtml">
		<head>
			<!-- template designed by Marco Von Ballmoos -->
			<title>Docs For Class Event</title>
			<link rel="stylesheet" href="../media/stylesheet.css" />
			<meta http-equiv='Content-Type' content='text/html; charset=iso-8859-1'/>
		</head>
		<body>
			<div class="page-body">			
<h2 class="class-name">Class Event</h2>

<a name="sec-description"></a>
<div class="info-box">
	<div class="info-box-title">Description</div>
	<div class="nav-bar">
					<span class="disabled">Description</span> |
													<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
						|											<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
						
					</div>
	<div class="info-box-body">
        		<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">A class to define a Event object to describe an Event's properties.</p>
	<ul class="tags">
				<li><span class="field">author:</span> Kevin Fodness &lt;<a href="mailto:kevin.fodness@gmail.com">kevin.fodness@gmail.com</a>&gt;</li>
				<li><span class="field">author:</span> Spencer Hakim &lt;<a href="mailto:hakims@rpi.edu">hakims@rpi.edu</a>&gt;</li>
				<li><span class="field">author:</span> Mike Pennisi &lt;<a href="mailto:mpennisi@andrew.cmu.edu">mpennisi@andrew.cmu.edu</a>&gt;</li>
				<li><span class="field">author:</span> Aaron Ryden &lt;<a href="mailto:aryden@gmail.com">aryden@gmail.com</a>&gt;</li>
				<li><span class="field">link:</span> <a href="http://code.google.com/p/buylocalopensourcerensselaer/">http://code.google.com/p/buylocalopensourcerensselaer/</a></li>
				<li><span class="field">license:</span> <a href="http://opensource.org/licenses/gpl-license.php">GNU Public License</a></li>
			</ul>
		<p class="notes">
			Located in <a class="field" href="_src---classes---class_Event.php.html">/src/classes/class_Event.php</a> (line <span class="field">33</span>)
		</p>
		
				
		<pre></pre>
	
			</div>
</div>



	<a name="sec-var-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Variable Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
						<span class="disabled">Vars</span> (<a href="#sec-vars">details</a>)
							| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
								</div>
		<div class="info-box-body">
			<div class="var-summary">
																																																																																																																																																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$address" title="details" class="var-name">$address</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$city" title="details" class="var-name">$city</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$country" title="details" class="var-name">$country</a>
				</div>
																<div class="var-title">
					<span class="var-type">int</span>
					<a href="#$dateAdded" title="details" class="var-name">$dateAdded</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$description" title="details" class="var-name">$description</a>
				</div>
																<div class="var-title">
					<span class="var-type">float</span>
					<a href="#$distance" title="details" class="var-name">$distance</a>
				</div>
																<div class="var-title">
					<span class="var-type">int</span>
					<a href="#$endTime" title="details" class="var-name">$endTime</a>
				</div>
																<div class="var-title">
					<span class="var-type">int</span>
					<a href="#$id" title="details" class="var-name">$id</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$imagePath" title="details" class="var-name">$imagePath</a>
				</div>
																<div class="var-title">
					<span class="var-type">float</span>
					<a href="#$latitude" title="details" class="var-name">$latitude</a>
				</div>
																<div class="var-title">
					<span class="var-type">float</span>
					<a href="#$longitude" title="details" class="var-name">$longitude</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$name" title="details" class="var-name">$name</a>
				</div>
																<div class="var-title">
					<span class="var-type">int</span>
					<a href="#$startTime" title="details" class="var-name">$startTime</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$state" title="details" class="var-name">$state</a>
				</div>
																<div class="var-title">
					<span class="var-type">array</span>
					<a href="#$stores" title="details" class="var-name">$stores</a>
				</div>
																<div class="var-title">
					<span class="var-type">string</span>
					<a href="#$zip" title="details" class="var-name">$zip</a>
				</div>
											</div>
		</div>
	</div>

	<a name="sec-method-summary"></a>
	<div class="info-box">
		<div class="info-box-title">Method Summary</span></div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
																		<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
				 
				|
						<span class="disabled">Methods</span> (<a href="#sec-methods">details</a>)
		</div>
		<div class="info-box-body">			
			<div class="method-summary">
																																				
												<div class="method-definition">
											<span class="method-result">null</span>
										<a href="#__construct" title="details" class="method-name">__construct</a>
											([<span class="var-type">int</span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$description</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$dateAdded</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$startTime</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$endTime</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$address</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$city</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$state</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$zip</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$country</span> = <span class="var-default">null</span>], [<span class="var-type">float</span>&nbsp;<span class="var-name">$latitude</span> = <span class="var-default">null</span>], [<span class="var-type">float</span>&nbsp;<span class="var-name">$longitude</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$imagePath</span> = <span class="var-default">null</span>], [<span class="var-type">float</span>&nbsp;<span class="var-name">$distance</span> = <span class="var-default">null</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$stores</span> = <span class="var-default">array()</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">null</span>
										<a href="#printListItem" title="details" class="method-name">printListItem</a>
											([<span class="var-type">bool</span>&nbsp;<span class="var-name">$userIsOwner</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$printAll</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">null</span>
										<a href="#printListItemFull" title="details" class="method-name">printListItemFull</a>
											([<span class="var-type">bool</span>&nbsp;<span class="var-name">$userIsOwner</span> = <span class="var-default">false</span>])
									</div>
																<div class="method-definition">
											<span class="method-result">null</span>
										<a href="#__clone" title="details" class="method-name">__clone</a>
										()
									</div>
								</div>
		</div>
	</div>		

	<a name="sec-vars"></a>
	<div class="info-box">
		<div class="info-box-title">Variables</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
										<a href="#sec-var-summary">Vars</a> (<span class="disabled">details</span>)
						
			
										| 
									<a href="#sec-method-summary">Methods</a> (<a href="#sec-methods">details</a>)
							
					</div>
		<div class="info-box-body">
			<a name="var$address" id="$address"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$address</span>
						(line <span class="line-number">89</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The street address of the event.</p>
	<ul class="tags">
				<li><span class="field">var:</span> Corresponds to events.address</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$city" id="$city"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$city</span>
						(line <span class="line-number">97</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The city in which the event is located.</p>
	<ul class="tags">
				<li><span class="field">var:</span> Corresponds to events.city</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$country" id="$country"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$country</span>
						(line <span class="line-number">121</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The country in which the event is located.</p>
	<ul class="tags">
				<li><span class="field">var:</span> Corresponds to events.country</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$dateAdded" id="$dateAdded"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">int</span>
			<span class="var-name">$dateAdded</span>
						(line <span class="line-number">65</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The UNIX timestamp of the date that the event was added.</p>
	<ul class="tags">
				<li><span class="field">var:</span> Corresponds to events.dateadded</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$description" id="$description"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$description</span>
						(line <span class="line-number">57</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The description of the event.</p>
	<ul class="tags">
				<li><span class="field">var:</span> Corresponds to events.description</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$distance" id="$distance"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">float</span>
			<span class="var-name">$distance</span>
						(line <span class="line-number">153</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The distance between the event and the user's home zip code.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$endTime" id="$endTime"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">int</span>
			<span class="var-name">$endTime</span>
						(line <span class="line-number">81</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The UNIX timestamp of the date that the event ends.</p>
	<ul class="tags">
				<li><span class="field">var:</span> Corresponds to events.endtime</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$id" id="$id"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">int</span>
			<span class="var-name">$id</span>
						(line <span class="line-number">41</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The database unique identifier for this event.</p>
	<ul class="tags">
				<li><span class="field">var:</span> Corresponds to events.eventid</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$imagePath" id="$imagePath"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$imagePath</span>
						(line <span class="line-number">145</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The path to the image for this event, or to the null image.</p>
	<ul class="tags">
				<li><span class="field">var:</span> Corresponds to eventimages</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$latitude" id="$latitude"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">float</span>
			<span class="var-name">$latitude</span>
						(line <span class="line-number">129</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The latitude of the event's geographic location.</p>
	<ul class="tags">
				<li><span class="field">var:</span> Corresponds to events.latitude</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$longitude" id="$longitude"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">float</span>
			<span class="var-name">$longitude</span>
						(line <span class="line-number">137</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The longitude of the event's geographic location.</p>
	<ul class="tags">
				<li><span class="field">var:</span> Corresponds to events.longitude</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$name" id="$name"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$name</span>
						(line <span class="line-number">49</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The name of the event (e.g., Bob's Hot Dog Shack).</p>
	<ul class="tags">
				<li><span class="field">var:</span> Corresponds to events.name</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$startTime" id="$startTime"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">int</span>
			<span class="var-name">$startTime</span>
						(line <span class="line-number">73</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The UNIX timestamp of the date that the event starts.</p>
	<ul class="tags">
				<li><span class="field">var:</span> Corresponds to events.startime</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$state" id="$state"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$state</span>
						(line <span class="line-number">105</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The state in which the event is located.</p>
	<ul class="tags">
				<li><span class="field">var:</span> Corresponds to events.state</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$stores" id="$stores"><!-- --></A>
<div class="evenrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">array</span>
			<span class="var-name">$stores</span>
						(line <span class="line-number">161</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Array of stores connected to event,</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
<a name="var$zip" id="$zip"><!-- --></A>
<div class="oddrow">

	<div class="var-header">
		<span class="var-title">
			<span class="var-type">string</span>
			<span class="var-name">$zip</span>
						(line <span class="line-number">113</span>)
		</span>
	</div>

	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The ZIP code in which the event is located.</p>
	<ul class="tags">
				<li><span class="field">var:</span> Corresponds to events.zip</li>
				<li><span class="field">access:</span> public</li>
			</ul>
	
	
		
		

</div>
						
		</div>
	</div>
	
	<a name="sec-methods"></a>
	<div class="info-box">
		<div class="info-box-title">Methods</div>
		<div class="nav-bar">
			<a href="#sec-description">Description</a> |
															<a href="#sec-var-summary">Vars</a> (<a href="#sec-vars">details</a>)
																	<a href="#sec-method-summary">Methods</a> (<span class="disabled">details</span>)
						
		</div>
		<div class="info-box-body">
			<A NAME='method_detail'></A>

<a name="method__construct" id="__construct"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">Constructor __construct</span> (line <span class="line-number">186</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Constructor function.  Populates variables based on parameters.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">null</span>
		<span class="method-name">
			__construct
		</span>
					([<span class="var-type">int</span>&nbsp;<span class="var-name">$id</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$name</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$description</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$dateAdded</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$startTime</span> = <span class="var-default">null</span>], [<span class="var-type">int</span>&nbsp;<span class="var-name">$endTime</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$address</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$city</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$state</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$zip</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$country</span> = <span class="var-default">null</span>], [<span class="var-type">float</span>&nbsp;<span class="var-name">$latitude</span> = <span class="var-default">null</span>], [<span class="var-type">float</span>&nbsp;<span class="var-name">$longitude</span> = <span class="var-default">null</span>], [<span class="var-type">string</span>&nbsp;<span class="var-name">$imagePath</span> = <span class="var-default">null</span>], [<span class="var-type">float</span>&nbsp;<span class="var-name">$distance</span> = <span class="var-default">null</span>], [<span class="var-type">array</span>&nbsp;<span class="var-name">$stores</span> = <span class="var-default">array()</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$id</span><span class="var-description">: The unique ID for the event.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$name</span><span class="var-description">: The name of the event.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$description</span><span class="var-description">: The description of the event.</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$dateAdded</span><span class="var-description">: The date and time the event was added.</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$startTime</span><span class="var-description">: The date and time the event starts.</span>			</li>
					<li>
				<span class="var-type">int</span>
				<span class="var-name">$endTime</span><span class="var-description">: The date and time the event ends.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$address</span><span class="var-description">: The street address of the event.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$city</span><span class="var-description">: The city the event is located in.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$state</span><span class="var-description">: The state the event is located in.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$zip</span><span class="var-description">: The zip code of the event.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$country</span><span class="var-description">: The country the event is located in.</span>			</li>
					<li>
				<span class="var-type">float</span>
				<span class="var-name">$latitude</span><span class="var-description">: The event's latitude.</span>			</li>
					<li>
				<span class="var-type">float</span>
				<span class="var-name">$longitude</span><span class="var-description">: The event's longitude.</span>			</li>
					<li>
				<span class="var-type">string</span>
				<span class="var-name">$imagePath</span><span class="var-description">: The path to the event's image.</span>			</li>
					<li>
				<span class="var-type">float</span>
				<span class="var-name">$distance</span><span class="var-description">: The distance between event and user's ZIP.</span>			</li>
					<li>
				<span class="var-type">array</span>
				<span class="var-name">$stores</span><span class="var-description">: Array of all stores connected to event.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodprintListItem" id="printListItem"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">printListItem</span> (line <span class="line-number">237</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Function to print a event as a list item for display on the home page  and in store search results.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">null</span>
		<span class="method-name">
			printListItem
		</span>
					([<span class="var-type">bool</span>&nbsp;<span class="var-name">$userIsOwner</span> = <span class="var-default">false</span>], [<span class="var-type">bool</span>&nbsp;<span class="var-name">$printAll</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$userIsOwner</span><span class="var-description">: whether or not to print the Edit link.</span>			</li>
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$printAll</span><span class="var-description">: Whether or not to print all of the store info.</span>			</li>
				</ul>
		
			
	</div>
<a name="methodprintListItemFull" id="printListItemFull"><!-- --></a>
<div class="evenrow">
	
	<div class="method-header">
		<span class="method-title">printListItemFull</span> (line <span class="line-number">313</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">Function to print the list item with all information present.</p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">null</span>
		<span class="method-name">
			printListItemFull
		</span>
					([<span class="var-type">bool</span>&nbsp;<span class="var-name">$userIsOwner</span> = <span class="var-default">false</span>])
			</div>
	
			<ul class="parameters">
					<li>
				<span class="var-type">bool</span>
				<span class="var-name">$userIsOwner</span><span class="var-description">: whether or not to print the Edit link.</span>			</li>
				</ul>
		
			
	</div>
<a name="method__clone" id="__clone"><!-- --></a>
<div class="oddrow">
	
	<div class="method-header">
		<span class="method-title">__clone</span> (line <span class="line-number">218</span>)
	</div> 
	
	<!-- ========== Info from phpDoc block ========= -->
<p class="short-description">The clone function. Is called via the PHP5 'clone' keyword.</p>
<p class="description"><p>Since the 'clone' keyword automatically does a shallow copy of variables,  this code finishes the work and does a deep copy.</p></p>
	<ul class="tags">
				<li><span class="field">access:</span> public</li>
			</ul>
	
	<div class="method-signature">
		<span class="method-result">null</span>
		<span class="method-name">
			__clone
		</span>
				()
			</div>
	
		
			
	</div>
						
		</div>
	</div>


	<p class="notes" id="credit">
		Documentation generated on Sat, 19 Dec 2009 19:45:16 -0500 by <a href="http://www.phpdoc.org" target="_blank">phpDocumentor 1.4.3</a>
	</p>
	</div></body>
</html>